TwoFA\Handler\TwofaMethods\Mo2f_GOOGLEAUTHENTICATOR_Handler S

Total Complexity 40
Dependencies 9
Dependents 0
Total lines 406
Lines of code 261
Logical lines of code 140
Comment lines 123
Methods 15
Properties 1

Methods 15

Method Rating Maintainability Complexity Lines of code
mo2f_create_secret()
S
53 7 22
mo2f_validate_otp()
S
57 6 14
mo2f_prompt_2fa_setup_inline()
S
46 4 39
mo2f_login_validate()
S
52 5 22
mo2f_process_update_details_response()
S
53 5 21
mo2f_process_inline_ga_validate()
S
59 4 13
mo2f_get_script()
S
49 1 39
mo2f_get_base32_lookup_table()
S
49 1 37
mo2f_prompt_2fa_setup_dashboard()
S
57 1 16
mo2f_prompt_2fa_test_dashboard()
S
60 1 12
__construct()
S
81 1 3
mo2f_geturl()
S
72 1 5
mo2f_update_user_details()
S
71 1 5
mo2f_prompt_2fa_login()
S
65 1 8
mo2f_show_login_prompt()
S
72 1 5